package com.waterdispenser.socket;

import org.springframework.stereotype.Component;

import java.net.Socket;
import java.util.HashMap;

/**
 * @author: yiranxiaohui
 * @project: SocketServer
 * @createTime: 2023/3/18 14:29
 */
@Component
public class SocketArray {

    private HashMap<String, Socket> socketHashMap = new HashMap<>();

    public HashMap<String, Socket> getSocketHashMap() {
        return socketHashMap;
    }

    public void setSocketHashMap(HashMap<String, Socket> socketHashMap) {
        this.socketHashMap = socketHashMap;
    }
}
